package com.ruoyi.server.api.coach.mapper;

import com.ruoyi.server.api.coach.domain.CoachManagement;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 教练信息Mapper接口
 * 
 * @author ZLP
 * @date 2024-06-12
 */
@Mapper
public interface CoachManagementMapper 
{
    /**
     * 查询教练信息
     * 
     * @param id 教练信息主键
     * @return 教练信息
     */
    public CoachManagement selectCoachManagementById(Long id);

    /**
     * 查询教练信息列表
     * 
     * @param coachManagement 教练信息
     * @return 教练信息集合
     */
    public List<CoachManagement> selectCoachManagementList(CoachManagement coachManagement);

    /**
     * 新增教练信息
     * 
     * @param coachManagement 教练信息
     * @return 结果
     */
    public int insertCoachManagement(CoachManagement coachManagement);

    /**
     * 修改教练信息
     * 
     * @param coachManagement 教练信息
     * @return 结果
     */
    public int updateCoachManagement(CoachManagement coachManagement);

    /**
     * 删除教练信息
     * 
     * @param id 教练信息主键
     * @return 结果
     */
    public int deleteCoachManagementById(Long id);

    /**
     * 批量删除教练信息
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCoachManagementByIds(Long[] ids);
}
